package com.study.ordercenter.entity;

import lombok.Data;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Data
public class OrderEntity {

    private Integer id;
    private String orderNumber;
    private String productName;
    private String productDesc;

    public OrderEntity(Integer id, String orderNumber, String productName, String productDesc) {
        this.id = id;
        this.orderNumber = orderNumber;
        this.productName = productName;
        this.productDesc = productDesc;
    }

}
